package com.srq.dao;

import com.srq.pojo.Goods;

import java.util.List;

public interface GoodsDao {
    //查询所有
    public List<Goods> findAllGoods();
    //添加
    public boolean findGoods(Goods goods);
    public void addGoods(Goods goods);
    //根据名字进行查询
    public List<Goods> findGoodsByName(String name);
    public void deleteGoods (Integer id);
}
